﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QPlcPlayer.Models
{

    [Table("PigeonCage")]
    public class PigeonCage:BaseEntity
    {
        /// <summary>
        /// 栋
        /// </summary>
        public string Building { get; set; }
        /// <summary>
        /// 列
        /// </summary>
        public string Arrange { get; set; }
        /// <summary>
        /// 组
        /// </summary>
        public string Group { get; set; }
        /// <summary>
        /// 号
        /// </summary>
        public string Number { get; set; }
        /// <summary>
        /// 种鸽数量  只有2或者0
        /// </summary>
        public int BreedingPigeonCount { get; set; }
        /// <summary>
        /// 待办事项  1,2,3 多个状态码
        /// </summary>
        public string NeedMatter { get; set; }
        public DateTime? ModifyDate { get; set; }
        public string ModifyUser { get; set; }
        /// <summary>
        /// 上次查蛋时间
        /// </summary>
        public DateTime? LastChadanDate { get; set; }
        /// <summary>
        /// 种鸽入笼时间
        /// </summary>
        public DateTime? BreedingPigeonCreateDate { get; set; }
        /// <summary>
        /// 饲料每日克数
        /// </summary>
        public int DailyGrams { get; set; }



    }



    public class PigeonCageModel
    {
        public string ID {  get; set; }
		/// <summary>
		/// 栋
		/// </summary>
		public string Building { get; set; }
		/// <summary>
		/// 列
		/// </summary>
		public string Arrange { get; set; }
		/// <summary>
		/// 组
		/// </summary>
		public string Group { get; set; }
		/// <summary>
		/// 号
		/// </summary>
		public string Number { get; set; }
        public int BigNumber {  get; set; }
        public int SmallNumber {  get; set; }

        public DateTime SmallBirthDay {  get; set; }

        public int TotalFeed {  get; set; }

    }



}
